import OBJ.MaterialUpdateRequest;
import UI.ModelEditor;

import javax.swing.*;
import java.io.IOException;
import java.util.concurrent.ConcurrentLinkedQueue;

public class Main {
    public static void main(String[] args) throws IOException {
        // 创建材质更新队列
        ConcurrentLinkedQueue<MaterialUpdateRequest> materialQueue = new ConcurrentLinkedQueue<>();
        // 创建模型编辑器
        SwingUtilities.invokeLater(() -> {
            ModelEditor editor = new ModelEditor(materialQueue);
            editor.setVisible(true);
        });

        //哈喽哈喽，这是一次尝试
    }
}